<!-- 载入公共头部 -->
  {{include file="../Common/header"}}
	<!-- 公共部分结束 -->
		<!-- 搜索导航区域 -->
		<div id="search_nav">
			<div class="search_nav"> 
				<span class="default_path">
					<a href="">首页</a>
						<i>&gt;</i>
					<a href="{{U('List/index',['cid'=>0])}}">全部搜索结果</a>
						<i>&gt;</i>
						{{foreach from="$pidData" value="$v"}}
						<a href="{{U('List/index',['cid'=>$v['cid']])}}">{{$v['cname']}}</a>
						<i>&gt;</i>
						{{endforeach}}
					
				</span> 
            	<span class="qwords">全部</span>
            </div>

             <div class="search_nav" {{if value="$cateData eq null"}} style="display: none;"{{endif}}> 
				<div class="cate">
					分类：
				</div>
				<ul>
					<li><a style="font-weight: bold;" href="{{U('List/index',['cid'=>0])}}" title="">不限</a></li>
					{{foreach from="$cateData" value="$v"}}
						<li><a style="font-weight: bold;" href="{{U('List/index',['cid'=>$v['cid']])}}" title="">{{$v['cname']}}</a></li>
					{{endforeach}}						
				</ul>

            </div>
            <div class="search_nav" {{if value="$cateData eq null"}} style="display: none;"{{endif}}>
				<div class="cate">
					品牌：
				</div>
				<ul>
					<li><a style="font-weight: bold;" href="{{U('List/index',['bid'=>0,'cid'=>$_GET['cid']])}}" title="">不限</a></li>
					{{foreach from="$brandData" key="$k" value="$v"}}
						<li><a style="font-weight: bold;" href="{{U('List/index',['bid'=>$k,'cid'=>$_GET['cid']])}}" title="">{{$v}}</a></li>
					{{endforeach}}						
				</ul>

            </div>
            <?php if($newAttr!=null): ?>
			{{foreach from="$newAttr" key="$k" value="$v"}}
				<?php 
					$temp=$param;
					$temp[$k]=0;
				?>
            <div class="search_nav"> 
				<div class="cate">
					{{$v['name']}}：
				</div>
				<ul>
					<li><a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}" {{if value="$param[$k] eq 0"}} class="hover"{{endif}} title="">不限</a></li>
					{{foreach from="$v['value']" value="$vv"}}
						<?php
							$temp[$k]=$vv['gaid'];$bid=isset($_GET['bid'])?$_GET['bid']:0;
						?>
						<li><a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp),'bid'=>$bid])}}" {{if value="$vv['gaid'] eq $param[$k]"}} class="hover"{{endif}} title="">{{$vv['gavalue']}}</a></li>
					{{endforeach}}
				</ul>
            </div>
			{{endforeach}}
			<?php endif ?>
             <div class="search_nav"> 
				<div class="cate">
					排序：
				</div>
				<ul>
					<li><a href="" title="默认">默认</a></li>
					<li><a href="" title="价格">价格</a></li>
					<li>
						<span class="filter_chkbox" data-monitor="search_paixu_youhuo">
			                <label>
			                    <input id="is_stock" type="checkbox"> 仅看有货产品
			                </label>
		            	</span>
		            </li>					
				</ul>
            </div>
		</div>
	<!-- 搜索导航区域结束 -->




		<div id="show_data">
			<div class="show">
				<ul class="list">

					<!-- 图片部分 -->

					<!-- <a href="" title="">
						<li class="li_item">
						<div class="img">
							<img src="./Public/Home/images/list001.jpg" alt="">
						</div>
						<div class="des">
							<p class="p1">360手机f4标准版移动4G魔力白</p>
							<p class="p2">599</p>
						</div>
						</li>
					</a> -->
					{{if value="$goodsData eq null"}}
						<div style="height: 200px; width: 1240px;margin: 0 auto;font-size:28px;text-align: center;line-height: 200px;">
							没有找到您想要的产品	
						</div>
					{{endif}}
					{{foreach from="$goodsData" value="$v"}}
					<li class="li_item">
						<div class="img">
							<a href="" title=""><img width="180" height="180" src="{{$v['listpic']}}" alt=""></a>
						</div>
						<div class="des">
							<a href="" title=""><p class="p1">{{$v['gname']}}</p></a>
							<a href="" title=""><p class="p2">{{$v['price']}}</p></a>
						</div>
					</li>
					{{endforeach}}
					
				</ul>
			</div>
		</div>

		<div id="ser">
			<div class="ser">
				<div class="li">
					<i>7</i><span>7天无理由退货</span>
				</div>
				<div class="li">
					<i>15</i><span>15天免费换货</span>
				</div>
				<div class="li lin">
					<i>包</i><span>7满99元包邮</span>
				</div>
			</div>
		</div>


		<div id="footer">
	         <div class="ft">
	         		<br>
	         		<br>
	         		<br>
	              <p>360商城©2013-2016 360公司版权所有 京ICP备08010314号-43 京公网安备11000002000006号奇酷互联网络科技（深圳）有限公司 0755-61898999 深圳市南山区学苑大道1001号南山智园A2栋</p>
	         </div>
        </div>
</body>
</html>